home *** CD-ROM | disk | FTP | other *** search
- *******************************************************************************
- * PROGRAM: View.pop
- *
- * WRITTEN BY: Borland Samples Group
- *
- * DATE: 1/94
- *
- * UPDATED: 5/95
- *
- * REVISION: $Revision: 1.1 $
- *
- * VERSION: Visual dBASE
- *
- * DESCRIPTION: This is a popup file used by all view forms in the Musical
- * Methods application. It allows seeing information in different
- * orders (depending on which view you are running), setting
- * filters, and searching.
- *
- * PARAMETERS: F (parent form)
- *
- * CALLS: None
- *
- * USAGE: set procedure to View.pop additive
- * F.popupMenu = new ViewPopup(F, "ViewPopup")
- *
- *******************************************************************************
- ** END HEADER -- do not remove this line*
- * Generated on 05/22/95
- *
- Parameter FormObj
- NEW VIEWPOPUP(FormObj,PopupName)
- CLASS VIEWPOPUP(FormObj,PopupName) OF POPUP(FormObj,PopupName)
- this.OnInitMenu = {;set procedure to music.prg additive}
-
- DEFINE MENU ORGANIZATION OF THIS;
- PROPERTY;
- StatusMessage "Change viewing order of displayed information.",;
- Text "&Organization"
-
- DEFINE MENU RANK OF THIS.ORGANIZATION;
- PROPERTY;
- StatusMessage "Order items by Rank.",;
- Text "&Rank",;
- OnClick CLASS::RANK_ONCLICK,;
- Checked .T.
-
- DEFINE MENU ARTIST OF THIS.ORGANIZATION;
- PROPERTY;
- StatusMessage "Order items by Artist.",;
- Text "&Artist",;
- OnClick CLASS::ARTISTS_ONCLICK
-
- DEFINE MENU TITLE OF THIS.ORGANIZATION;
- PROPERTY;
- StatusMessage "Order items by Title",;
- Text "&Title",;
- OnClick CLASS::TITLES_ONCLICK
-
- DEFINE MENU BROWSE OF THIS;
- PROPERTY;
- StatusMessage "View the items in Browse mode.",;
- Text "&Browse",;
- OnClick CLASS::BROWSE_ONCLICK
-
- DEFINE MENU FILTER OF THIS;
- PROPERTY;
- StatusMessage "Select a group of items to view.",;
- Text "&Filter",;
- OnClick CLASS::FILTER_ONCLICK
-
-
- DEFINE MENU SEARCH_FOR OF THIS;
- PROPERTY;
- Shortcut "CTRL-S",;
- Text "&Search for...",;
- OnClick CLASS::SEARCH_ONCLICK
-
- DEFINE MENU SKIP OF THIS;
- PROPERTY;
- Shortcut "CTRL-K",;
- Text "S&kip...",;
- OnClick CLASS::SKIP_ONCLICK
-
-
-
- *******************************************************************************
-
- procedure Rank_OnClick
-
- * Display form in Rank order.
- *******************************************************************************
-
- CallShowRankView(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Artists_OnClick
-
- * Display form in Artists Order.
- *******************************************************************************
-
- CallShowArtistsView(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Titles_OnClick
-
- * Display form in Titles Order.
- *******************************************************************************
-
- CallShowTitlesView(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Browse_OnClick
-
- * Display form in Browse format.
- *******************************************************************************
-
- BrowseEdit(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Filter_OnClick
-
- * Set up filter form.
- *******************************************************************************
-
- FilterView(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Search_OnClick
-
- * Search for an item. Brings up a dialog for specifying an item to searh for.
- *******************************************************************************
-
- SearchItems(form) && Procedure in Music.prg
-
-
- *******************************************************************************
-
- procedure Skip_OnClick
-
- * Skip to a specified record. Brings up a dialog for specifying how far
- * to skip.
- *******************************************************************************
-
- SkipItems(form) && Procedure in Music.prg
-
-
-
-
-
-
- ENDCLASS
-
-